package com.app.medicalcontrol.basis;

import android.os.Environment;

public class Constants {

    public static final boolean DEBUG = true;

    // 正式服务器
//	 public static final String URL_SERVICE = "http://api.ebuy.cc/";
    // 测试服务器
    public static final String URL_SERVICE = "http://api.sp.xicloud.tech/";

    public static String URL_API = URL_SERVICE + "";

    //登录
    public static String URL_USER_LOGIN = URL_API + "Clerk/login.json";
    //更新
    public static String URL_UPDATE = URL_API + "app_update/update.json";
    //设备列表
    public static String URL_ROBOT_LIST = URL_API + "Robot/robotList.json";
    //获取设备信息
    public static String URL_ROBOT_INFO = URL_API + "Robot/info.json";
    //修改设备名称
    public static String URL_UP_NAME = URL_API + "Robot/updName.json";
    //开关设备
    public static String URL_UPSWITCH = URL_API + "Robot/updSwitch.json";
    //穴道列表
    public static String URL_ACUPOINT_LIST = URL_API + "Robot/acupointList.json";
    //管理员-设置手部（开始艾灸）
    public static String URL_SET_HAND = URL_API + "Robot/setHand.json";
    //获取个人资料
    public static String URL_USER_INFO = URL_API + "Clerk/info.json";
    //修改密码
    public static String URL_RESET_PWD = URL_API + "Clerk/updPassword.json";
    //重新获取token
    public static String URL_GET_TOKEN = URL_API + "Clerk/getToken.json";
    //退出
    public static String URL_LOGOUT = URL_API + "Clerk/logout.json";
    //服务提示信息列表
    public static String URL_MESSAGE_LIST = URL_API + "Robot/messageList.json";
    //服务提示信息列表
    public static String URL_GET_ABOUT = URL_API + "Robot/getAbout.json";

    //H5界面
    //会员服务
    public static String H5_MEMBER = "http://sp.xicloud.tech/Member/search?ctoken=";
    //    艾灸套餐
    public static String H5_PAKAGE = "http://sp.xicloud.tech/Package/index?ctoken=";
    //服务记录
    public static String H5_SERVICE = "http://sp.xicloud.tech/Service/index?store_id= ";
    //播放控制
    public static String H5_PLAY = "http://sp.xicloud.tech/Robot/playList";

    public static int PAGE_SIZE = 15;

    public static final String TEL = "";
    public static final long TIME_DELAY = 500;

    /**
     * 程序目录
     */
    public static final String DIR = Environment.getExternalStorageDirectory()
            + "/MedicalControl/";
    public static final String DIR_IN = BasisApp.getInstance().getFilesDir().getPath()
            + "/";

    public static final String DIR_DOWNLOAD = DIR + "download/";
    public static final String DIR_TEMP = DIR + "temp/";
    public static final String DIR_LOG = DIR + "log/";
    public static final String DIR_FILE = DIR_IN + "file/";

}
